package com.dst.eneity;

import  java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Service;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Category implements Serializable {
    private Integer cid;
    private String cname;

    public Category(Integer cid, String cname) {
        this.cid = cid;
        this.cname = cname;
    }
    private Integer bid;
}
